home *** CD-ROM | disk | FTP | other *** search
/ Business Shareware / Business Shareware.iso / start / gfxapps / pbmpl91d / pbmplus / man / pbmreduc.man < prev    next >
Text File  |  1993-01-08  |  2KB  |  72 lines

  1.  
  2.  
  3. pbmreduce(1)               Unix Programmer's Manual               pbmreduce(1)
  4.  
  5.  
  6. NAME
  7.      pbmreduce - read a portable bitmap and reduce it N times
  8.  
  9. SYNOPSIS
  10.      pbmreduce [-floyd|-fs|-threshold ] [-value val] N [pbmfile]
  11.                                                 ---  -  -------
  12.  
  13. DESCRIPTION
  14.      Reads a portable bitmap as input.  Reduces it  by  a  factor  of  N,  and
  15.                                                                        -
  16.      produces a portable bitmap as output.
  17.  
  18.      pbmreduce duplicates a lot of the functionality of pgmtopbm; you could do
  19.      ---------                                          --------
  20.      something like pnmscale | pgmtopbm, but pbmreduce is a lot faster.
  21.                                              ---------
  22.  
  23.      pbmreduce can be used to "re-halftone" an image.  Let's say  you  have  a
  24.      ---------
  25.      scanner  that  only  produces  black&white,  not grayscale, and it does a
  26.      terrible job of halftoning (most b&w scanners fit this description).  One
  27.      way  to fix the halftoning is to scan at the highest possible resolution,
  28.      say 300 dpi, and then reduce by a factor of three or so using  pbmreduce.
  29.                                                                     ---------
  30.      You  can  even  correct  the  brightness of an image, by using the -value
  31.      flag.
  32.  
  33. OPTIONS
  34.  
  35.      By  default,  the  halftoning   after   the   reduction   is   done   via
  36.      boustrophedonic  Floyd-Steinberg error diffusion; however, the -threshold
  37.      flag can be used to  specify  simple  thresholding.   This  gives  better
  38.      results when reducing line drawings.
  39.  
  40.      The -value flag alters the thresholding value for all quantizations.   It
  41.      should  be a real number between 0 and 1.  Above 0.5 means darker images;
  42.      below 0.5 means lighter.
  43.  
  44.      All flags can be abbreviated to their shortest unique prefix.
  45.  
  46. SEE ALSO
  47.      pnmenlarge(1), pnmscale(1), pgmtopbm(1), pbm(5)
  48.  
  49. AUTHOR
  50.      Copyright (C) 1988 by Jef Poskanzer.
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                02 August 1989                                1
  71.  
  72.